package org.example.service;

import org.example.pojo.*;

import java.util.List;

public interface RoleService {

    public List<Role> selectRoles();

    public RoleRes selectRoleRes(int id);

    public Role selectByName(String rName);

    public  int deleteRes(int rId);


    public int insertRes(int rId,int resId);

    public ResId selectResId(String resName);

    public ResPojo getParRes(int resId);

    public List<ResPojo> showChildResouce(int resId);

    public ResRolePojo selectResRolePojo(int rId);

    public int addRole(EditRole editRole);

    public  List<Role> selectVariablesByAll(String var);

    public int updateRolePwd(Role role);

    public int deleteRole(int rId);


}
